package com.ms.service.module.analysisgroup;

/**
 * 除了遊戲館收支之外的C幣統計收支方式
 * @author 16040
 *
 */
public enum CoinExpenditureWay {

	//=====支出類=====
	HONBO("紅包活動"),
	
	INVITE_CODE("邀請碼(30,000/新手)"),
	
	ACTIVITY_SHARE_CODE("官方啟動碼(30,000)"),
	
	INVITE_CODE_UPLINE_REWARD("邀請碼(10,000/上線)"),
	
	INVITE_CODE_UPLINE_REWARD_DISTRIBUTOR("邀請碼(經銷商上線)"),
	
	INVITE_CODE_COMMISSION("經銷商(抽佣)"),//2017/05/11改成紀錄經銷商抽佣
	
	MONTH_REWARD("包月領取(20,000/首次)"),
	
	MONTH_DAILY_REWARD("包月領取(1,500/日)"),
	
	DEPOSIT_REWARD("首儲獎勵"),
	
	POINT_EXCHANGE("點數兌換C幣"),
	
	GMTOOL_REWARD("保險箱C幣發放"),
	
	GMTOOL_REWARD_COMPANY("保險箱C幣發放(公司內部)"),
	
	GOLD_COIN_CARD("道具C幣卡產出"),
	
	DISTRIBUTOR_INVITE_CODE("經銷商啟動碼"),

	WEEK_REWARD("包週領取(50,000/首次)"),
	
	WEEK_DAILY_REWARD("包週領取(3,0000/日)"),
	
	//=====支出類=====
	
	
	//=====收入類=====
	SEND_GIFT_CHARGE("虛寶交易手續費"),
	
	GMTOOL_DEDUCT("C幣扣除"),
	
	GMTOOL_DEDUCT_COMPANY("C幣扣除(公司內部)"),
	
	GMTOOL_DEDUCT_EXPIRED_ACCOUNT("過期帳號扣除"),
	
	//=====收入類=====
	;
	
	private String desc;
	
	private CoinExpenditureWay(String descString){
		this.desc = descString;
	}
	
	public String getDesc(){
		return this.desc;
	}
	
	public static CoinExpenditureWay getEnumByString(String coinExpeditureWay){
		try {
			return CoinExpenditureWay.valueOf(coinExpeditureWay);
		}
		catch (Exception e) {
			return null;
		}
	}
	
}
